package com.ziyun.pop.modules.purchase.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 门店采购入库明细表
 * 
 * @author guizhao
 * @email 
 * @date 2018-09-26 13:28:47
 */
@TableName("store_purchase_apply_detail")
public class StorePurchaseApplyDetailEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 自增id
	 */
	@TableId(type = IdType.AUTO)
	private Integer applyDetailId;
	/**
	 * 采购申请单id
	 */
	private Integer applyId;
	/**
	 * 采购申请单号
	 */
	private String applyNo;
	/**
	 * 采购申请单耗材状态：1.待入库2.部分入库3.已完成
	 */
	private Integer status;
	/**
	 * 耗材id
	 */
	private String materialId;
	/**
	 * 耗材申请数量
	 */
	private BigDecimal materialQuantity;
	/**
	 * 耗材实际入库数量
	 */
	private BigDecimal receiveQuantity;
	/**
	 * 采购供应商id
	 */
	private Integer supplierId;
	/**
	 * 单价
	 */
	private BigDecimal unitMoney;

	/**
	 * 物料名称
	 */
	@TableField(exist = false)
	private String materialName;

	/**
	 * 规格
	 */
	@TableField(exist = false)
	private String specifications;

	/**
	 * 长
	 */
	@TableField(exist = false)
	private Double length;

	/**
	 * 宽
	 */
	@TableField(exist = false)
	private Double width;

	/**
	 * 显示单位
	 */
	@TableField(exist = false)
	private String showUnit;

	@TableField(exist = false)
	private Double weight;

	/**
	 * 总价
	 */
	private BigDecimal totalMoney;
	/**
	 * 单位
	 */
	private String unit;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 创建人（员工id）
	 */
	private String createName;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 标记删除0:正常,1:删除
	 */
	private Integer del;

	/**
	 * 设置：自增id
	 */
	public void setApplyDetailId(Integer applyDetailId) {
		this.applyDetailId = applyDetailId;
	}
	/**
	 * 获取：自增id
	 */
	public Integer getApplyDetailId() {
		return applyDetailId;
	}
	/**
	 * 设置：采购申请单id
	 */
	public void setApplyId(Integer applyId) {
		this.applyId = applyId;
	}
	/**
	 * 获取：采购申请单id
	 */
	public Integer getApplyId() {
		return applyId;
	}
	/**
	 * 设置：采购申请单号
	 */
	public void setApplyNo(String applyNo) {
		this.applyNo = applyNo;
	}
	/**
	 * 获取：采购申请单号
	 */
	public String getApplyNo() {
		return applyNo;
	}
	/**
	 * 设置：采购申请单耗材状态：1.待入库2.部分入库3.已完成
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：采购申请单耗材状态：1.待入库2.部分入库3.已完成
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：耗材id
	 */
	public void setMaterialId(String materialId) {
		this.materialId = materialId;
	}
	/**
	 * 获取：耗材id
	 */
	public String getMaterialId() {
		return materialId;
	}
	/**
	 * 设置：耗材申请数量
	 */
	public void setMaterialQuantity(BigDecimal materialQuantity) {
		this.materialQuantity = materialQuantity;
	}
	/**
	 * 获取：耗材申请数量
	 */
	public BigDecimal getMaterialQuantity() {
		return materialQuantity;
	}

	public String getMaterialName() {
		return materialName;
	}

	public void setMaterialName(String materialName) {
		this.materialName = materialName;
	}

	public String getSpecifications() {
		return specifications;
	}

	public void setSpecifications(String specifications) {
		this.specifications = specifications;
	}

	public Double getLength() {
		return length;
	}

	public void setLength(Double length) {
		this.length = length;
	}

	public Double getWidth() {
		return width;
	}

	public void setWidth(Double width) {
		this.width = width;
	}

	public String getShowUnit() {
		return showUnit;
	}

	public void setShowUnit(String showUnit) {
		this.showUnit = showUnit;
	}

	public Double getWeight() {
		return weight;
	}

	public void setWeight(Double weight) {
		this.weight = weight;
	}

	/**
	 * 设置：耗材实际入库数量
	 */
	public void setReceiveQuantity(BigDecimal receiveQuantity) {
		this.receiveQuantity = receiveQuantity;
	}
	/**
	 * 获取：耗材实际入库数量
	 */
	public BigDecimal getReceiveQuantity() {
		return receiveQuantity;
	}
	/**
	 * 设置：采购供应商id
	 */
	public void setSupplierId(Integer supplierId) {
		this.supplierId = supplierId;
	}
	/**
	 * 获取：采购供应商id
	 */
	public Integer getSupplierId() {
		return supplierId;
	}
	/**
	 * 设置：单价
	 */
	public void setUnitMoney(BigDecimal unitMoney) {
		this.unitMoney = unitMoney;
	}
	/**
	 * 获取：单价
	 */
	public BigDecimal getUnitMoney() {
		return unitMoney;
	}
	/**
	 * 设置：总价
	 */
	public void setTotalMoney(BigDecimal totalMoney) {
		this.totalMoney = totalMoney;
	}
	/**
	 * 获取：总价
	 */
	public BigDecimal getTotalMoney() {
		return totalMoney;
	}
	/**
	 * 设置：单位
	 */
	public void setUnit(String unit) {
		this.unit = unit;
	}
	/**
	 * 获取：单位
	 */
	public String getUnit() {
		return unit;
	}
	/**
	 * 设置：备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：备注
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * 设置：创建人（员工id）
	 */
	public void setCreateName(String createName) {
		this.createName = createName;
	}
	/**
	 * 获取：创建人（员工id）
	 */
	public String getCreateName() {
		return createName;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：标记删除0:正常,1:删除
	 */
	public void setDel(Integer del) {
		this.del = del;
	}
	/**
	 * 获取：标记删除0:正常,1:删除
	 */
	public Integer getDel() {
		return del;
	}
}
